Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run integration if SetDevVersion is true or not set in case of scheud… #11476

Merged

Conversation

praveenkuttappan
Copy link
Member

SetDevVersion is set to false in pipeline variables and it properly skips setting build version as alpha. But this same variable is also used as job condition for Integration job(which uploads package to daily dev feed). Currently this condition is is evaluating to tru for scheduled job on internal project even if variable is explicitly set to false. Ideally Scheduled run should run this step if variable is set to true or empty.

@praveenkuttappan praveenkuttappan merged commit faae66d into Azure:master Sep 25, 2020
@praveenkuttappan praveenkuttappan deleted the template_release_error branch September 25, 2020 17:09
@weshaggard
Copy link
Member

Where is SetDevVersion explicitly getting set to false? I'm mostly asking because this condition is the same across other languages like https://github.com/Azure/azure-sdk-for-net/blob/master/eng/pipelines/templates/stages/archetype-net-release.yml#L217 and I want to be sure we don't have a larger issue we should address.

@praveenkuttappan
Copy link
Member Author

@weshaggard Dozie has set SetDevVersion to false in pipeline variables for js - template pipeline here. As per Dozie, this change was intentional and it seems it was done to avoid publishing template package regularly. I am not sure yet why we need to do that. But this PR is to avoid pipeline failure for template.
https://dev.azure.com/azure-sdk/internal/_apps/hub/ms.vss-ciworkflow.build-ci-hub?_a=edit-build-definition&id=832&view=Tab_History

@weshaggard
Copy link
Member

OK I know @chidozieononiwu is working on some changes to our template package pipelines to help with testing our eng/common changes so I guess we will have to see where this all lands. However if we stick with this logic perhaps we should change the logic to be ne(variables['SetDevVersion'], 'false') instead. Lets keep an eye on this to see where @chidozieononiwu's work lands.

deyaaeldeen pushed a commit to deyaaeldeen/azure-sdk-for-js that referenced this pull request Sep 25, 2020
Azure#11476)

* Run integration if SetDevVersion is true or not set in case of scheduled job
@chidozieononiwu
Copy link
Member

OK I know @chidozieononiwu is working on some changes to our template package pipelines to help with testing our eng/common changes so I guess we will have to see where this all lands. However if we stick with this logic perhaps we should change the logic to be ne(variables['SetDevVersion'], 'false') instead. Lets keep an eye on this to see where @chidozieononiwu's work lands.

We decided to abandon that implementation. So I guess this no longer applies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants